home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
controls
/
autosa~1
/
autosa~1.odl
< prev
next >
Wrap
Text File
|
1995-11-25
|
2KB
|
87 lines
//=--------------------------------------------------------------------------=
// AutoSample.ODL
//=--------------------------------------------------------------------------=
// Copyright 1995 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
//
// ODL file for the automation object(s) in this inproc server
//
//
#include "dispids.h"
// can't include oaidl.h, so this will have to do
//
#define DISPID_NEWENUM -4
//=--------------------------------------------------------------------------=
// the libid for this type libray
//
[
uuid(956fca20-271d-11cf-9d53-00aa003c9cb6),
helpstring("AutoSample Object Library"),
lcid(0x0000),
version(1.0)
]
library AutoSampleObjects {
// standard imports
//
importlib("STDOLE32.TLB");
// primary dispatch interface for CRectangle object
//
[
uuid(96ad2c20-271d-11cf-9d53-00aa003c9cb6),
helpstring("Rectangle Object"),
hidden,
dual,
odl
]
interface IRectangle : IDispatch {
// properties
//
[propget]
HRESULT Bottom([out, retval] long *plBottom);
[propput]
HRESULT Bottom([in] long lBottom);
[propget]
HRESULT Left([out, retval] long *plLeft);
[propput]
HRESULT Left([in] long lLeft);
[propget]
HRESULT Right([out, retval] long *plRight);
[propput]
HRESULT Right([in] long lRight);
[propget]
HRESULT Top([out, retval] long *plTop);
[propput]
HRESULT Top([in] long lTop);
// methods
//
};
// coclass for CRectangle objects
//
[
uuid(988ac5c0-271d-11cf-9d53-00aa003c9cb6),
helpstring("Rectangle Object")
]
coclass Rectangle {
[default] interface IRectangle;
};
};